package com.peng.stack_queue.linkedlist;

public class Queue {

    private DoubleEndsQueue doubleEndsQueue;

    public Queue() {
        doubleEndsQueue = new DoubleEndsQueue();
    }


    public void push(int val){
        doubleEndsQueue.addFromHead(val);
    }

    public void pop(){
        doubleEndsQueue.popFromBottom();
    }

}
